/*
 *
 * *******************************************************************
 *   @项目名称: BHex Android
 *   @文件名称: Urls.java
 *   @Date: 11/29/18 3:21 PM
 *   @Author: chenjun
 *   @Copyright（C）: 2018 BlueHelix Inc.   All rights reserved.
 *   注意：本内容仅限于内部传阅，禁止外泄以及用于其他的商业目的.
 *  *******************************************************************
 *
 */

package io.bhex.sdk;

import static io.bhex.sdk.UrlsConfig.API_H5_URL;
import static io.bhex.sdk.UrlsConfig.API_SERVER_URL;
import static io.bhex.sdk.UrlsConfig.API_SOCKET_URL;

public class Urls{

    //K线分时接口
//    public static final String API_KLINE_TIMES_URL;
//    public static final String API_KLINE_TIMES_URL;

    //用户/////////////////////////

    //邮箱登录
    public static String API_LOGIN_EAMIL_VERIFY_URL;
    //手机登录
    public static String API_LOGIN_MOBILE_VERIFY_URL;
    //登录
    public static String API_LOGIN_VERIFY_URL;
    //    //邮箱登录
//    public static String API_LOGIN_EAMIL_URL = API_SERVER_URL + "/user/email_authorize_advance";
//    //手机登录
//    public static String API_LOGIN_MOBILE_URL = API_SERVER_URL + "user/mobile_authorize_advance";
    //登录 二合一
    public static String API_LOGIN_URL;
    //快速登录 - 创建认证身份
    public static String API_LOGIN_QUICK_AUTH_CREATE_URL;
    //快捷登录二次验证
    public static String API_LOGIN_QUICK_AUTH_CONFIRM_URL;
    //快捷注册-设置密码获取验证码
    public static String API_SET_PASSWD_SEND_VERIFY_CODE_URL;
    //快捷注册-设置密码
    public static String API_SET_PASSWD_URL;
    //登录 指纹、手势
    public static String API_LOGIN_FINGER_URL;
    public static String API_LOGIN_GESTURE_URL;
    //退出
    public static String API_LOGOUT_URL;
    //邮箱注册
    public static String API_REGISTER_EMAIL_URL;
    //手机注册
    public static String API_REGISTER_MOBILE_URL;
    //手机区号列表
    public static String API_MOBILE_CODE_LIST_URL;
    //Banner列表
    public static String API_BANNER_LIST_URL;
    //公告列表
    public static String API_ANNOUNCEMENTS_LIST_URL;
    //自定义接口
    public static String API_BASIC_CUSTOM_KV_URL;


    //需要登录态，需要type
    //手机验证码
    public static String API_GET_VERIFY_CODE_MOBILE_URL;
    //邮箱验证码
    public static String API_GET_VERIFY_CODE_EMAIL_URL;
    //不需要登录态，需要type和national_code + mobile 或者 mobile
    //请求去验证
    public static String API_GET_BASIC_VERIFY_CODE_FIRST_MOBILE_URL;
    //请求去验证-发送验证码-通过邮箱发送验证码
    public static String API_GET_BASIC_VERIFY_CODE_FIRST_EMAIL_URL;
    //不需要登录态，但需要authorize接口的request_id参数
    //手机验证码
    public static String API_GET_VERIFY_CODE_MOBILE_AUTH_URL;
    //邮箱验证码
    public static String API_GET_VERIFY_CODE_EMAIL_AUTH_URL;

    //获取当前用户信息
    public static String API_USER_GET_BASE_INFO;
    //获取当前用户信息
    public static String API_USER_GET_VERIFY_INFO;
    //修改密码
    public static String API_USER_UPDATE_PWD;
    //通过手机号找回密码校验
    public static String API_USER_MOBILE_FIND_PWD_CHECK;
    //    //通过手机号找回密码
//    public static String API_USER_MOBILE_FIND_PWD;
//    通过邮箱找回密码校验
    public static String API_USER_EMAIL_FIND_PWD_CHECK;
    //    //通过邮箱找回密码
//    public static String API_USER_EMAIL_FIND_PWD;
    //找回密码 二合一
    public static String API_USER_FIND_PWD;
    //找回密码step1-通过手机号找回密码校验
    public static String API_MOBILE_FIND_PWD_CHECK_1;
    //找回密码step1-通过邮箱找回密码校验
    public static String API_EMAIL_FIND_PWD_CHECK_1;
    //发送找回密码的二次验证码(邮箱或者手机)
    public static String API_SEND_VERIFY_CODE_FIND_PWD;
    //找回密码step2-2FA验证
    public static String API_USER_FIND_PWD_CHECK_2;


    //行情
    public static String API_TICKER_URL;
    //socket行情
    public static String SOCKET_API_TICKER_URL;
    //深度
    public static String API_DEPTHVIEW_URL;
    //socket深度
    public static String SOCKET_API_DEPTHVIEW_URL;
    //socket获取wss地址 socket
    public static String API_GET_WSS_URL;

    //最新成交
    public static String API_LATEST_TRADE_URL;
    //socket最新成交
    public static String SOCKET_API_LATEST_TRADE_URL;

    //查询价格位数
    public static String API_GET_PRICE_DIGITS_URL;

    //token列表
    public static String API_TOKEN_LIST_URL;
    //token列表
    public static String API_QUOTE_TOKEN_LIST_URL;
    //币对列表
    public static String API_SYMBOLS_LIST_URL;
    //socket最新成交
    public static String SOCKET_API_SYMBOLS_LIST_URL;

    //kline
    public static String API_KLINE_URL;
    //SOCKET kline
    public static String SOCKET_API_KLINE_URL;
    //SOCKET kline TYPE
    public static String SOCKET_API_KLINE_TYPE_URL;

    //获取自选列表
    public static String API_FAVORITE_LIST_URL;
    //添加自选
    public static String API_FAVORITE_CREATE_URL;
    //取消自选
    public static String API_FAVORITE_CANCEL_URL;
    //汇率
    public static String API_BASIC_RATES_URL;
    //汇率v1
    public static String V1_BASIC_RATES_URL;

    /** 新接入行情 200109 **************/
    //券商所有币对的行情 api/quote/v1/broker/tickers
    public static String API_QUOTE_V1_BROKER_TICKERS_URL;
    //券商按行情排序的前N个行情 api/quote/v1/broker/top
    public static String API_QUOTE_V1_BROKER_TOP_N_URL;

    /**配置接口*******/
    //功能配置接口
    public static String API_BASIC_FUNCTIONS_CONFIG_URL;
    //获取基础配置信息(综合接口)
    public static String API_BASIC_CONFIG_URL;
    //本地语言配置规则
    public static String API_COMMON_LANGUAGE_LIST_URL;
    //分享配置
    public static String API_SHARE_CONFIG_URL;
    //INDEX配置
    public static String API_INDEX_CONFIG_URL;
    //币种介绍
    public static String API_TOKEN_BRIEF_INTRODUCTION_URL;
    //推荐币对
    public static String API_RECOMMEND_SYMBOLS_URL;
    //APP模块配置
    public static String API_INDEX_MODULES_URL;

    /**订单接口*******/
    //获取当前委托记录
    public static String API_ORDER_OPEN_ORDERS;
    //撤单
    public static String API_ORDER_CANCEL;
    public static String API_OPTION_ORDER_CANCEL_BATCH;
    //批量撤单
    public static String API_ORDER_CANCEL_BATCH;
    //下单
    public static String API_ORDER_CREATE;
    public static String API_OPTION_ORDER_CREATE;
    //获取历史委托记录
    public static String API_ORDER_TRADE_ORDERS;
    //获取某个订单的成交信息
    public static String API_ORDER_MATCH_INFO;
    //获取历史成交记录
    public static String API_ORDER_MY_TRADES;

    /** 绑定、上传、认证**/
    //获取绑定GA的信息
    public static String API_BIND_GA_INFO;
    //绑定GA
    public static String API_BIND_GA;
    //绑定邮箱
    public static String API_BIND_EMAIL;
    //绑定手机
    public static String API_BIND_MOBILE;
    //上传图片
    public static String API_USER_UPLOAD_IMAGE;
    //实名认证上传图片
    public static String API_VERIFY_UPLOAD_IMAGE;
    //公会上传图片
    public static String API_GUILD_UPLOAD_IMAGE;
    //实名认证
    public static String API_AUTHENTICATE;
    //设置资金密码
    public static String API_SET_TRADE_PASSWD;

    /**资产接口*************/
    //查询24小时可提现额度，已用额度，手续费
    public static String API_ASSET_QUOTA_INFO;
    //获取用户资产信息
    public static String API_ACCOUNT_GET_LIST;
    //获取用户资产信息
    public static String API_ACCOUNT_GET_OPTION_LIST;
    //获取用户资产信息
    public static String API_ASSET_GET_LIST;
    //获取用户可划转资产信息
    public static String API_ASSET_CAN_TRANSFER;
    //获取充币地址
    public static String API_ASSET_B_RECHARGE_ADDRESS;
    //发起"提币请求"
    public static String API_ASSET_B_WITHDRAW_CREATE;
    //验证"提币请求"
    public static String API_ASSET_B_WITHDRAW_VERIFY;
    //取消"提币请求"
    public static String API_ASSET_B_WITHDRAW_CANCEL;
    //获取托管平台验证码
    public static String API_ASSET_B_WITHDRAW_P_VERIFY;
    //充币历史记录
    public static String API_ASSET_B_RECHARGE_HISTORY;
    //提币历史记录
    public static String API_ASSET_B_WITHDRAW_HISTORY;
    //其他记录
    public static String API_ASSET_B_OTHER_HISTORY;
    //资产记录
    public static String API_ASSET_RECORD_HISTORY;
    //提币常用地址
    public static String API_ASSET_B_WITHDRAW_ADDRESS;
    //提币常用地址添加
    public static String API_ASSET_B_WITHDRAW_ADDRESS_ADD;
    //提币常用地址删除
    public static String API_ASSET_B_WITHDRAW_ADDRESS_DELETE;
    //提币地址检查
    public static String API_ASSET_B_WITHDRAW_ADDRESS_CHECK;


    /**子账户**********/
    //创建子账户
    public static String API_SUB_ACCOUNT_CREATE;
    //账户列表
    public static String API_SUB_ACCOUNT_LIST;
    //账户类型
    public static String API_SUB_ACCOUNT_TYPES;
    //子账户转账
    public static String API_SUB_ACCOUNT_TRANSFER;

    /**KYC**********/
    //获取机构KYC级别配置
    public static String API_KYC_CONFIG;
    //获取用户KYC级别信息
    public static String API_KYC_LEVEL;
    //用户KYC基础认证
    public static String API_KYC_BASIC_VERIFY;
    //用户证件照KYC认证
    public static String API_KYC_PHOTO_VERIFY;
    //获取人脸核身KYC准备信息
    public static String API_KYC_FACE_PREPARE_SDK;
    //人脸核身KYC认证
    public static String API_KYC_FACE_VERIFY;
    //上传视频
    public static String API_KYC_VIDEO_UPLOAD;
    //用户视频KYC认证
    public static String API_KYC_VIDEO_VERIFY;

    /**点卡**********/
    //购买点卡
    public static String API_POINTCARD_BUY;
    //购买点卡记录
    public static String API_POINTCARD_BUY_FLOW;
    //点卡使用明细
    public static String API_POINTCARD_BALANCE_FLOW;
    //我的点卡余额
    public static String API_POINTCARD_BALANCE;
    //点卡商品明细
    public static String API_POINTCARD_DETAIL;
    //点卡商品列表
    public static String API_POINTCARD_LIST;
    /**点卡新接口*******/
    //点卡余额列表
    public static String API_POINTCARD_BALANCE_LIST;
    //点卡类型列表
    public static String API_POINTCARD_TYPE_LIST;
    //点卡套餐列表
    public static String API_POINTCARD_PACKAGE_LIST;
    //点卡套餐详情
    public static String API_POINTCARD_PACKAGE_ITEM_DETAIL;

    /**邀请返佣********/
    //获取邀请信息接口
    public static String API_INVITATION_INFO;
    //获取返佣记录列表
    public static String API_INVITATION_REWARD_LIST;
    //邀请记录列表
    public static String API_INVITATION_RELATION_LIST;
    //分享海报
    public static String API_INVITATION_SHARE_POSTER;
    //分享海报-NEW-v1.6.0
    public static String API_INVITATION_SHARE_POSTER_NEW;

    //活动相关信息
    public static String API_POINTCARD_EVENT;
    //广告列表接口
    public static String API_ADVERTISEMENT_LIST;
    //点卡规则
    public static String API_POINT_RULE;

    public static String API_filter;

    //ping
    public static String API_ASSET_PING;

    //强制升级
    public static String API_UPDATE;

    //强制升级
    public static String API_PUSH;

    //期权历史交割
    public static String API_OPTION_HISTORY_DELIVERY;

    public static String API_NEW_SYMBOLS;

    //全部资产接口
    public static String API_ASSET_ALL;


    //全部资产接口
    public static String API_ASSET_TRANSFER;

    public static String API_OPTION_ORDER_OPEN_ORDERS;
    public static String API_OPTION_ORDER_CANCEL;
    public static String API_OPTION_ORDER_TRADE_ORDERS;

    public static String API_OPTION_ORDER_DEAL_ORDERS;
    public static String API_OPTION_ORDER_DELIVERY_ORDERS;
    public static String API_OPTION_HOLD_ORDERS;
    public static String API_OPTION_ORDER_MATCH_INFO;
    public static String API_OPTION_INDICES;
    public static String API_OPTION_OPEN;
    public static String API_OPTION_ASSET_DETAIL;
    public static String API_OPTION_FEE;
    public static String API_OPTION_SYMBOL;
    public static String API_OPTION_STATUS;



    //recaptcha验证页面地址
    public static String H5_URL_RECAPTCHA;
    //注册服务协议
    public static String H5_URL_REGISTER_SERVICE;
    //点卡协议
    public static String H5_URL_POINTCARD_SERVICE;
    //注册隐私协议
    public static String H5_URL_PRIVACY_POLICY;

    //option协议
    public static String H5_URL_OPTION_SERVICE;
    //option协议
    public static String H5_URL_OPTION_SERVICE_CN;
    //option协议
    public static String H5_URL_OPTION_SERVICE_EN;
    //活期理财协议
    public static String H5_URL_FINANCE_SERVICE;

    public static String H5_URL_GUILD;
    //卡券
    public static String H5_URL_CARD_VOUCHER;

    //socket 行情
    public static String SOCKET_QUOTE;

    //socket 交易
    public static String SOCKET_TRADE;
    private static String H5_URL_TEST_H5;
    //开通合约协议
    public static String H5_URL_OPEN_FUTURES_PROTOCOL;


    /**合约****************/
    //合约下单配置 (费率、下单设置、风险限额)
    public static String API_FUTURES_GET_CREATE_ORDER_CONFIG;
    //合约下单
    public static String API_FUTURES_ORDER_CREATE;
    //合约撤单
    public static String API_FUTURES_ORDER_CANCEL;
    //合约批量撤单
    public static String API_FUTURES_ORDER_BATCH_CANCEL;
    //合约可交易信息
    public static String API_FUTURES_ASSET_TRADABLE;
    //TODO 合约标的列表
    public static String API_FUTURES_UNDERLYING_LIST;
    //合约订单详情查询
    public static String API_FUTURES_ORDER_DETAIL_GET;
    //合约当前委托
    public static String API_FUTURES_OPEN_ORDERS;
    //合约当前持仓
    public static String API_FUTURES_CURRENT_HOLD_ORDERS;
    //合约历史委托
    public static String API_FUTURES_HISTORY_ENTRUST_ORDERS;
    //合约历史成交
    public static String API_FUTURES_HISTORY_DEALED_ORDERS;
    //合约历史成交记录
    public static String API_FUTURES_HISTORY_DEALED_ORDERS_DETAIL;

    //合约交割记录
    public static String API_FUTURES_DELIVERY_RECORD;
    //合约资产
    public static String API_FUTURES_ASSET_AVAILABLE;
    //合约资产
    public static String API_FUTURES_ASSET_DETAIL;
    //调整保证金 增加、减少
    public static String API_FUTURES_MODIFY_MARGIN;
    //设置"合约风险限额"
    public static String API_FUTURES_SET_RISK_LIMIT;
    //期货资金费率
    public static String API_FUTURES_FUNDING_RATES;

    //设置止盈止损
    public static String API_FUTURES_STOP_PROFIT_LOSS_SET;
    //取消止盈止损
    public static String API_FUTURES_STOP_PROFIT_LOSS_CANCEL;
    //查询当前止盈止损
    public static String API_FUTURES_STOP_PROFIT_LOSS_GET;
    //查询止盈止损单 - 当前委托
    public static String API_FUTURES_STOP_PROFIT_LOSS_OPEN_ORDERS;
    //查询止盈止损单的历史委托
    public static String API_FUTURES_STOP_PROFIT_LOSS_HISTORY_ORDERS;

    //合约计算器-计算收益信息
    public static String API_FUTURES_CALCULATOR_PROFIT;
    //合约计算器-计算强平价
    public static String API_FUTURES_CALCULATOR_LIQUIDATION;
    public static String API_GET_USERLEVEL_INFO;

    // 用户等级
    public static String H5_URL_USER_LEVEL;

    public static void initBrokerUrls() {

        //邮箱登录
        API_LOGIN_EAMIL_VERIFY_URL = API_SERVER_URL + "mapi/user/email_authorize";
        //手机登录
        API_LOGIN_MOBILE_VERIFY_URL = API_SERVER_URL + "mapi/user/mobile_authorize";
        //登录
        API_LOGIN_VERIFY_URL = API_SERVER_URL + "mapi/user/authorize";
//    //邮箱登录
//    public static final String API_LOGIN_EAMIL_URL = API_SERVER_URL + "user/email_authorize_advance";
//    //手机登录
//    public static final String API_LOGIN_MOBILE_URL = API_SERVER_URL + "user/mobile_authorize_advance";
        //登录 二合一
        API_LOGIN_URL = API_SERVER_URL + "mapi/user/authorize_advance";
        //快速登录 - 创建认证身份
        API_LOGIN_QUICK_AUTH_CREATE_URL = API_SERVER_URL +"mapi/user/quick_authorize";
        //快捷登录二次验证
        API_LOGIN_QUICK_AUTH_CONFIRM_URL = API_SERVER_URL +"mapi/user/quick_authorize_advance";
        //快捷注册-设置密码获取验证码
        API_SET_PASSWD_SEND_VERIFY_CODE_URL = API_SERVER_URL +"mapi/user/send_verify_code/set_password";
        //快捷注册-设置密码
        API_SET_PASSWD_URL = API_SERVER_URL +"mapi/user/set_password";

        //登录 指纹、手势
        API_LOGIN_FINGER_URL = API_SERVER_URL + "mapi/user/finger_print_authorize";
        API_LOGIN_GESTURE_URL = API_SERVER_URL + "mapi/user/gesture_authorize";

        //退出
        API_LOGOUT_URL = API_SERVER_URL + "mapi/user/authorize_cancel";
        //邮箱注册
        API_REGISTER_EMAIL_URL = API_SERVER_URL + "mapi/user/email_sign_up";
        //手机注册
        API_REGISTER_MOBILE_URL = API_SERVER_URL + "mapi/user/mobile_sign_up";
        //手机区号列表
        API_MOBILE_CODE_LIST_URL = API_SERVER_URL + "ms_api/basic/countries";
        //Banner列表
        API_BANNER_LIST_URL = API_SERVER_URL + "ms_api/basic/banners";
        //公告列表
        API_ANNOUNCEMENTS_LIST_URL = API_SERVER_URL + "ms_api/basic/announcements";
        //自定义接口
        API_BASIC_CUSTOM_KV_URL = API_SERVER_URL + "ms_api/basic/custom_kv";

        //需要登录态，需要type
        //手机验证码
        API_GET_VERIFY_CODE_MOBILE_URL = API_SERVER_URL + "mapi/user/send_sms_verify_code";
        //邮箱验证码
        API_GET_VERIFY_CODE_EMAIL_URL = API_SERVER_URL + "mapi/user/send_email_verify_code";
        //不需要登录态，需要type和national_code + mobile 或者 mobile
        //请求去验证
        API_GET_BASIC_VERIFY_CODE_FIRST_MOBILE_URL = API_SERVER_URL + "mapi/common/send_sms_verify_code";
        //请求去验证-发送验证码-通过邮箱发送验证码
        API_GET_BASIC_VERIFY_CODE_FIRST_EMAIL_URL = API_SERVER_URL + "mapi/common/send_email_verify_code";
        //不需要登录态，但需要authorize接口的request_id参数
        //手机验证码
        API_GET_VERIFY_CODE_MOBILE_AUTH_URL = API_SERVER_URL + "mapi/user/send_sms_verify_code/authorize_advance";
        //邮箱验证码
        API_GET_VERIFY_CODE_EMAIL_AUTH_URL = API_SERVER_URL + "mapi/user/send_email_verify_code/authorize_advance";

        //获取当前用户信息
        API_USER_GET_BASE_INFO = API_SERVER_URL + "mapi/user/get_base_info";
        //获取实名信息
        API_USER_GET_VERIFY_INFO = API_SERVER_URL + "mapi/user/verify_info";
        //修改密码
        API_USER_UPDATE_PWD = API_SERVER_URL + "mapi/user/update_pwd";
        //通过手机号找回密码校验
        API_USER_MOBILE_FIND_PWD_CHECK = API_SERVER_URL + "mapi/user/mobile_find_pwd_check";
//    //通过手机号找回密码
//    API_USER_MOBILE_FIND_PWD = API_SERVER_URL + "user/mobile_find_pwd";
//    通过邮箱找回密码校验
        API_USER_EMAIL_FIND_PWD_CHECK = API_SERVER_URL + "mapi/user/email_find_pwd_check";
//    //通过邮箱找回密码
//    API_USER_EMAIL_FIND_PWD = API_SERVER_URL + "user/email_find_pwd";
        //找回密码 二合一
        API_USER_FIND_PWD = API_SERVER_URL + "mapi/user/find_pwd";

        //找回密码step1-通过手机号找回密码校验
        API_MOBILE_FIND_PWD_CHECK_1 = API_SERVER_URL + "mapi/user/mobile_find_pwd_check1";
        //找回密码step1-通过邮箱找回密码校验
        API_EMAIL_FIND_PWD_CHECK_1 = API_SERVER_URL + "mapi/user/email_find_pwd_check1";
        //发送找回密码的二次验证码(邮箱或者手机)
        API_SEND_VERIFY_CODE_FIND_PWD = API_SERVER_URL + "mapi/user/send_verify_code/find_pwd";
        //找回密码step2-2FA验证
        API_USER_FIND_PWD_CHECK_2 = API_SERVER_URL + "mapi/user/find_pwd_check2";


        //行情
        API_TICKER_URL = API_SERVER_URL + "api/quote/v1/ticker";
        //socket行情
        SOCKET_API_TICKER_URL = "#1.#2@ticker";
        //深度
        API_DEPTHVIEW_URL = API_SERVER_URL + "api/quote/v1/depth";
        //socket深度
        SOCKET_API_DEPTHVIEW_URL = "#1.#2@depth_#3";
        //socket获取wss地址 socket
        API_GET_WSS_URL = API_SERVER_URL + "api/quote/v1/wss";

        //最新成交
        API_LATEST_TRADE_URL = API_SERVER_URL + "api/quote/v1/trades";
        //socket最新成交
        SOCKET_API_LATEST_TRADE_URL = "#1.#2@trade";

        //查询价格位数
        API_GET_PRICE_DIGITS_URL = API_SERVER_URL + "";

        //token列表
        API_TOKEN_LIST_URL = API_SERVER_URL + "ms_api/basic/tokens";
        //token列表
        API_QUOTE_TOKEN_LIST_URL = API_SERVER_URL + "ms_api/basic/quote_tokens";
        //币对列表
        API_SYMBOLS_LIST_URL = API_SERVER_URL + "ms_api/basic/symbols";
        //socket最新成交
        SOCKET_API_SYMBOLS_LIST_URL = "#1.#2@symbol";

        //kline
        API_KLINE_URL = API_SERVER_URL+"api/quote/v1/klines";
        //SOCKET kline
        SOCKET_API_KLINE_URL = "#1.#2@kline";
        //SOCKET kline TYPE
        SOCKET_API_KLINE_TYPE_URL = "#1.#2@kline_#3";

        //获取自选列表
        API_FAVORITE_LIST_URL = API_SERVER_URL + "mapi/user/favorite/list";
        //添加自选
        API_FAVORITE_CREATE_URL = API_SERVER_URL + "mapi/user/favorite/create";
        //取消自选
        API_FAVORITE_CANCEL_URL = API_SERVER_URL + "mapi/user/favorite/cancel";
        //汇率
        API_BASIC_RATES_URL = API_SERVER_URL + "ms_api/basic/rates";
        //v1 汇率
        V1_BASIC_RATES_URL = API_SERVER_URL + "api/quote/v1/rates";
        /** 新接入行情 200109 **************/
        //券商所有币对的行情
        API_QUOTE_V1_BROKER_TICKERS_URL = API_SERVER_URL + "api/quote/v1/broker/tickers";
        //券商按行情排序的前N个行情
        API_QUOTE_V1_BROKER_TOP_N_URL = API_SERVER_URL + "api/quote/v1/broker/top";

        /**配置接口*******/
        //功能配置接口
        API_BASIC_FUNCTIONS_CONFIG_URL = API_SERVER_URL + "ms_api/basic/functions";
        //获取基础配置信息(综合接口)
//        API_BASIC_CONFIG_URL = API_SERVER_URL + "ms_api/basic/config";
        API_BASIC_CONFIG_URL = API_SERVER_URL + "ms_api/basic/config_v1";  //接口升级-0225
        //本地语言规则
        API_COMMON_LANGUAGE_LIST_URL = API_SERVER_URL + "mapi/common/language/list";
        //分享配置
        API_SHARE_CONFIG_URL = API_SERVER_URL + "ms_api/basic/share_config";
        //INDEX配置
        API_INDEX_CONFIG_URL = API_SERVER_URL + "ms_api/basic/index_config";
        //币种介绍
        API_TOKEN_BRIEF_INTRODUCTION_URL = API_SERVER_URL + "ms_api/basic/token";
        //推荐币对
//        API_RECOMMEND_SYMBOLS_URL = API_SERVER_URL + "ms_api/basic/recommend_symbols";
        API_RECOMMEND_SYMBOLS_URL = API_SERVER_URL + "ms_api/basic/recommend_symbols_2";    //升级接口 2.11
        //APP模块配置
        API_INDEX_MODULES_URL = API_SERVER_URL + "ms_api/basic/index_modules";

        /**订单接口*******/
        //获取当前委托记录
        API_ORDER_OPEN_ORDERS = API_SERVER_URL + "mapi/order/open_orders";
        //撤单
        API_ORDER_CANCEL = API_SERVER_URL + "mapi/order/cancel";
        //批量撤单
        API_ORDER_CANCEL_BATCH = API_SERVER_URL + "mapi/order/batch_cancel";
        API_OPTION_ORDER_CANCEL_BATCH = API_SERVER_URL + "mapi/option/order/batch_cancel";
        //下单
        API_ORDER_CREATE = API_SERVER_URL +"mapi/order/create";
        API_OPTION_ORDER_CREATE = API_SERVER_URL +"mapi/option/order/create";
        //获取历史委托记录
        API_ORDER_TRADE_ORDERS = API_SERVER_URL +"mapi/order/trade_orders";
        //获取某个订单的成交信息
        API_ORDER_MATCH_INFO = API_SERVER_URL +"mapi/order/match_info";
        //获取历史成交记录
        API_ORDER_MY_TRADES = API_SERVER_URL +"mapi/order/my_trades";
        //获取历史成交记录
        API_OPTION_FEE = API_SERVER_URL +"mapi/option/order/fee";

        /** 绑定、 认证**/
        //获取绑定GA的信息
        API_BIND_GA_INFO = API_SERVER_URL +"mapi/user/before_bind_ga";
        //绑定GA
        API_BIND_GA = API_SERVER_URL +"mapi/user/bind_ga";
        //绑定邮箱
        API_BIND_EMAIL = API_SERVER_URL +"mapi/user/bind_email";
        //绑定手机
        API_BIND_MOBILE = API_SERVER_URL +"mapi/user/bind_mobile";
        //上传图片
        API_USER_UPLOAD_IMAGE = API_SERVER_URL +"mapi/user/upload_image";
        //实名认证上传图片
        API_VERIFY_UPLOAD_IMAGE = API_SERVER_URL +"mapi/user/verify/upload_image";

        API_GUILD_UPLOAD_IMAGE = API_SERVER_URL +"mapi/guild/image/upload";
        //实名认证
        API_AUTHENTICATE = API_SERVER_URL +"mapi/user/verify";
        //设置资金密码
        API_SET_TRADE_PASSWD = API_SERVER_URL +"mapi/user/trade_pwd/set";

        /**资产接口*************/
        //查询24小时可提现额度，已用额度，手续费
        API_ASSET_QUOTA_INFO = API_SERVER_URL +"mapi/asset/withdrawal/quota_info";
        //获取用户资产信息
        API_ACCOUNT_GET_LIST = API_SERVER_URL +"mapi/account/get";
        //获取用户资产信息
        API_ACCOUNT_GET_OPTION_LIST = API_SERVER_URL +"mapi/option/asset/available";

        //获取用户资产信息
        API_ASSET_GET_LIST = API_SERVER_URL +"mapi/asset/get";
        //获取用户可划转资产信息
        API_ASSET_CAN_TRANSFER = API_SERVER_URL +"mapi/account/sub_account/transfer/available";
        //获取充币地址
        API_ASSET_B_RECHARGE_ADDRESS = API_SERVER_URL +"mapi/asset/deposit/address";
        //发起"提币请求"
        API_ASSET_B_WITHDRAW_CREATE = API_SERVER_URL +"mapi/asset/withdrawal/create";
        //验证"提币请求"
        API_ASSET_B_WITHDRAW_VERIFY = API_SERVER_URL +"mapi/asset/withdrawal/verify";
        //取消"提币请求"
        API_ASSET_B_WITHDRAW_CANCEL = API_SERVER_URL +"mapi/asset/withdrawal/order/cancel";
        //获取托管验证码
        API_ASSET_B_WITHDRAW_P_VERIFY = API_SERVER_URL +"mapi/asset/withdrawal/verify_code";
        //充币历史记录
        API_ASSET_B_RECHARGE_HISTORY = API_SERVER_URL +"mapi/asset/deposit/order_list";
        //提币历史记录
        API_ASSET_B_WITHDRAW_HISTORY = API_SERVER_URL +"mapi/asset/withdrawal/order_list";
        //其他记录
        API_ASSET_B_OTHER_HISTORY = API_SERVER_URL +"mapi/asset/other";
        //资产记录
        API_ASSET_RECORD_HISTORY = API_SERVER_URL +"mapi/asset/balance_flow";
        //提币常用地址
        API_ASSET_B_WITHDRAW_ADDRESS = API_SERVER_URL +"mapi/asset/withdrawal/address_list";
        //提币常用地址添加
        API_ASSET_B_WITHDRAW_ADDRESS_ADD = API_SERVER_URL +"mapi/asset/withdrawal/address/add";
        //提币常用地址删除
        API_ASSET_B_WITHDRAW_ADDRESS_DELETE = API_SERVER_URL +"mapi/asset/withdrawal/address/delete";
        //提币地址检查
        API_ASSET_B_WITHDRAW_ADDRESS_CHECK = API_SERVER_URL +"mapi/asset/withdrawal/address/check";

        /**子账户**********/
        //创建子账户
        API_SUB_ACCOUNT_CREATE = API_SERVER_URL +"mapi/account/sub_account/create";
        //账户列表
        API_SUB_ACCOUNT_LIST = API_SERVER_URL +"mapi/account/sub_account/query";
        //账户类型
        API_SUB_ACCOUNT_TYPES = API_SERVER_URL +"mapi/basic/sub_account/support_account_type";
        //子账户转账
        API_SUB_ACCOUNT_TRANSFER = API_SERVER_URL +"mapi/account/sub_account/transfer";

        /**KYC**********/
        //获取机构KYC级别配置
        API_KYC_CONFIG = API_SERVER_URL +"mapi/basic/kyc/config";
        //获取用户KYC级别信息
        API_KYC_LEVEL = API_SERVER_URL +"mapi/user/kyclevel";
        //用户KYC基础认证
        API_KYC_BASIC_VERIFY = API_SERVER_URL +"mapi/user/kyc/basicverify";
        //用户证件照KYC认证
        API_KYC_PHOTO_VERIFY = API_SERVER_URL +"mapi/user/kyc/photoverify";
        //获取人脸核身KYC准备信息
        API_KYC_FACE_PREPARE_SDK = API_SERVER_URL +"mapi/user/kyc/face/prepare/sdk";
        //人脸核身KYC认证
        API_KYC_FACE_VERIFY = API_SERVER_URL +"mapi/user/kyc/face/verify";
        //用户视频KYC认证
        API_KYC_VIDEO_VERIFY = API_SERVER_URL +"mapi/user/kyc/videoverify";
        //用户视频上传
        API_KYC_VIDEO_UPLOAD = API_SERVER_URL +"mapi/user/upload_video";

        /**点卡**********/
        //购买点卡
        API_POINTCARD_BUY = API_SERVER_URL +"mapi/point/buy";
        //购买点卡记录
        API_POINTCARD_BUY_FLOW = API_SERVER_URL +"mapi/point/my/v1/order_flow";
        //点卡明细
        API_POINTCARD_BALANCE_FLOW = API_SERVER_URL +"mapi/point/my/v1/balance_flow";
        //我的点卡余额
        API_POINTCARD_BALANCE = API_SERVER_URL +"mapi/point/my/balance";
        //点卡商品明细
        API_POINTCARD_DETAIL = API_SERVER_URL +"mapi/point/pack/detail";
        //点卡商品列表
        API_POINTCARD_LIST = API_SERVER_URL +"mapi/point/pack";
        /**点卡新接口***********/
        //点卡余额列表
        API_POINTCARD_BALANCE_LIST = API_SERVER_URL +"mapi/point/app/my/v1/balance";
        //点卡类型列表
        API_POINTCARD_TYPE_LIST = API_SERVER_URL +"mapi/point/card/list";
        //点卡套餐列表
        API_POINTCARD_PACKAGE_LIST = API_SERVER_URL +"mapi/point/app/item/list";
        //点卡套餐详情
        API_POINTCARD_PACKAGE_ITEM_DETAIL = API_SERVER_URL +"mapi/point/app/item/detail";
        /**邀请返佣********/
        //获取邀请信息接口
        API_INVITATION_INFO = API_SERVER_URL +"mapi/invitation/info/get";
        //获取返佣记录列表
        API_INVITATION_REWARD_LIST = API_SERVER_URL +"mapi/invitation/bonus/list";
        //邀请记录列表
        API_INVITATION_RELATION_LIST = API_SERVER_URL +"mapi/invitation/relation/list";
        //分享海报
        API_INVITATION_SHARE_POSTER = API_SERVER_URL +"mapi/invitation/share/info";
        //分享海报-NEW-1.6.0
        API_INVITATION_SHARE_POSTER_NEW = API_SERVER_URL +"mapi/invitation/share/template_info";

        //活动相关信息
        API_POINTCARD_EVENT = API_SERVER_URL +"mapi/point/event";
        //广告列表接口
        API_ADVERTISEMENT_LIST = API_SERVER_URL +"mapi/common/advertisement/list";
        //点卡规则
        API_POINT_RULE = API_SERVER_URL +"mapi/common/language/value/get";

        //遮招配置
        API_filter = API_SERVER_URL + "mapi/common/function_config";

        //强制升级
        API_UPDATE = API_SERVER_URL +"ms_api/basic/version_config";

        //push_key
        API_PUSH = API_SERVER_URL +"mapi/common/push_device";

        //ping
        API_ASSET_PING = API_SERVER_URL +"api/time";

        //ping
        API_OPTION_HISTORY_DELIVERY = API_SERVER_URL +"mapi/option/history";

        //新币对配置
        API_NEW_SYMBOLS = API_BASIC_CONFIG_URL;

        API_ASSET_ALL = API_SERVER_URL +"mapi/asset/info";

//        @Deprecated
//        API_ASSET_TRANSFER = API_SERVER_URL +"mapi/option/asset/transfer";
        API_ASSET_TRANSFER = API_SERVER_URL +"mapi/asset/transfer";

        API_OPTION_ORDER_OPEN_ORDERS = API_SERVER_URL +"mapi/option/order/open_orders";

        API_OPTION_ORDER_CANCEL = API_SERVER_URL +"mapi/option/order/cancel";

        API_OPTION_ORDER_TRADE_ORDERS = API_SERVER_URL +"mapi/option/order/trade_orders";

        API_OPTION_ORDER_DEAL_ORDERS = API_SERVER_URL +"mapi/option/order/my_trades";

        API_OPTION_ORDER_DELIVERY_ORDERS = API_SERVER_URL +"mapi/option/order/delivery_record";

        API_OPTION_HOLD_ORDERS = API_SERVER_URL +"mapi/option/order/position";

        API_OPTION_ORDER_MATCH_INFO = API_SERVER_URL +"mapi/option/order/match_info";

        API_OPTION_INDICES= API_SERVER_URL +"api/quote/v1/indices";
        API_OPTION_OPEN= API_SERVER_URL +"mapi/user/open/option";
        API_OPTION_ASSET_DETAIL= API_SERVER_URL +"mapi/option/asset/balance_flow";
        API_OPTION_SYMBOL = API_SERVER_URL +"ms_api/basic/option/symbols";
        API_OPTION_STATUS = API_SERVER_URL +"mapi/option/settle_status";

        /** 合约 ******************/
        //合约下单配置 (费率、下单设置、风险限额)
        API_FUTURES_GET_CREATE_ORDER_CONFIG = API_SERVER_URL + "mapi/contract/order/get_order_setting";
        //合约下单
        API_FUTURES_ORDER_CREATE = API_SERVER_URL + "mapi/contract/order/create";
        //合约撤单
        API_FUTURES_ORDER_CANCEL = API_SERVER_URL + "mapi/contract/order/cancel";
        //合约批量撤单
        API_FUTURES_ORDER_BATCH_CANCEL = API_SERVER_URL + "mapi/contract/order/batch_cancel";
        //合约可交易信息
        API_FUTURES_ASSET_TRADABLE = API_SERVER_URL + "mapi/contract/asset/tradeable";
        //合约标的列表
        API_FUTURES_UNDERLYING_LIST = API_SERVER_URL + "mapi/contract/underlying/list";



        //合约订单详情
        API_FUTURES_ORDER_DETAIL_GET = API_SERVER_URL + "mapi/contract/order/get";
        //合约未成交委托
        API_FUTURES_OPEN_ORDERS = API_SERVER_URL + "mapi/contract/order/open_orders";
        //合约当前持仓
        API_FUTURES_CURRENT_HOLD_ORDERS = API_SERVER_URL + "mapi/contract/order/position";
        //合约历史委托
        API_FUTURES_HISTORY_ENTRUST_ORDERS = API_SERVER_URL + "mapi/contract/order/trade_orders";
        //合约历史成交
        API_FUTURES_HISTORY_DEALED_ORDERS = API_SERVER_URL + "mapi/contract/order/my_trades";
        //合约成交详情
        API_FUTURES_HISTORY_DEALED_ORDERS_DETAIL = API_SERVER_URL + "mapi/contract/order/match_info";
        //合约交割记录
        API_FUTURES_DELIVERY_RECORD = API_SERVER_URL + "mapi/contract/order/delivery_record";
        //合约资产
        API_FUTURES_ASSET_AVAILABLE = API_SERVER_URL + "mapi/contract/asset/available";
        //合约资产流水
        API_FUTURES_ASSET_DETAIL = API_SERVER_URL + "mapi/contract/asset/balance_flow";
        //合约-调整保证金 增加、减少
        API_FUTURES_MODIFY_MARGIN = API_SERVER_URL + "mapi/contract/asset/modify_margin";
        //设置风险限额
        API_FUTURES_SET_RISK_LIMIT = API_SERVER_URL + "mapi/contract/order/set_risk_limit";
        //期货资金费率
        API_FUTURES_FUNDING_RATES = API_SERVER_URL + "mapi/futures/funding_rates";

        //设置止盈止损
        API_FUTURES_STOP_PROFIT_LOSS_SET = API_SERVER_URL + "mapi/contract/order/position/stop_profit_loss/set";
        //取消止盈止损
        API_FUTURES_STOP_PROFIT_LOSS_CANCEL  = API_SERVER_URL +"mapi/contract/order/position/stop_profit_loss/cancel";
        //查询当前止盈止损
        API_FUTURES_STOP_PROFIT_LOSS_GET  = API_SERVER_URL +"mapi/contract/order/position/stop_profit_loss/get";

        //查询止盈止损单 - 当前委托
        API_FUTURES_STOP_PROFIT_LOSS_OPEN_ORDERS  = API_SERVER_URL +"mapi/contract/order/stop_profit_loss/open_orders";
        //查询止盈止损单的历史委托
        API_FUTURES_STOP_PROFIT_LOSS_HISTORY_ORDERS  = API_SERVER_URL +"mapi/contract/order/stop_profit_loss/trade_orders";

        //合约计算器-计算收益信息
        API_FUTURES_CALCULATOR_PROFIT  = API_SERVER_URL +"mapi/contract/calculator/profit_info";
        //合约计算器-计算强平价
        API_FUTURES_CALCULATOR_LIQUIDATION  = API_SERVER_URL +"mapi/contract/calculator/liquidation_price";
        API_GET_USERLEVEL_INFO  = API_SERVER_URL +"mapi/user/get_userlevel_info";




        H5_URL_RECAPTCHA = API_SERVER_URL + "recaptcha.html";
        H5_URL_TEST_H5 = API_SERVER_URL + "testh5.html";

        SOCKET_QUOTE = API_SOCKET_URL + "ws/quote/v1";

        SOCKET_TRADE = API_SOCKET_URL + "mapi/ws/user";

        H5_URL_REGISTER_SERVICE = API_H5_URL + "other/usercontract";
        H5_URL_PRIVACY_POLICY = API_H5_URL + "other/agreement";
        H5_URL_POINTCARD_SERVICE = API_H5_URL + "other/cardAgreement";
        H5_URL_GUILD = API_H5_URL + "m/guild";
        H5_URL_CARD_VOUCHER = API_H5_URL + "m/user/card";
        H5_URL_OPTION_SERVICE_CN = API_H5_URL + "BHEX%E9%87%91%E8%9E%8D%E4%BA%A7%E5%93%81%E5%8D%8F%E8%AE%AE.pdf";
        H5_URL_OPTION_SERVICE_EN = API_H5_URL + "Options%20Trading%20User%20Agreement.pdf";
        H5_URL_OPTION_SERVICE = API_H5_URL + "protocols/option";
        H5_URL_FINANCE_SERVICE = API_H5_URL + "protocols/financing";
        H5_URL_OPEN_FUTURES_PROTOCOL = API_H5_URL + "m/contract/guest";
        H5_URL_USER_LEVEL = API_H5_URL+ "m/user/grade";


    }

 }
